﻿using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.BaseData.Entitys;

/// <summary>
/// 朓检规则实体.
/// </summary>
[SugarTable("qms_base_inspectionrolemain", "朓检规则")]
[Tenant(ClaimConst.TENANTID)]
public class QmsBaseInspectionrolemainEntity : CLDEntityBase
{

    /// <summary>
    /// 规则编码.
    /// </summary>
    [SugarColumn(ColumnName = "F_Code", ColumnDescription = "规则编码")]
    public string Code { get; set; }

    /// <summary>
    /// 规则描述.
    /// </summary>
    [SugarColumn(ColumnName = "F_Desc", ColumnDescription = "规则描述")]
    public string Desc { get; set; }

    /// <summary>
    /// 有效开始时间.
    /// </summary>
    [SugarColumn(ColumnName = "F_StartDate", ColumnDescription = "有效开始时间")]
    public DateTime? StartDate { get; set; }

    /// <summary>
    /// 有效结束时间.
    /// </summary>
    [SugarColumn(ColumnName = "F_EndDate", ColumnDescription = "有效结束时间")]
    public DateTime? EndDate { get; set; }

}